import Vuex from 'vuex'
import Vue from 'vue'
import menu from './SideMenu/'
import user from './UserManager/'

Vue.use(Vuex)

console.log(menu)

const store = new Vuex.Store({
  state: {
    count: 0
  },
  modules:{
    menu,
    user
  },
  mutations: {
    increment (state) {
      state.count++
    }
  }
})

export default store

